﻿@if(Request.IsAuthenticated) {
    <text>

    <span class="LastLogin">Your last login was @AceSoft.RetailPlus.Security.Identity.LastLogin</span>
    <ul>
        <li>Welcome <span class="user">@AceSoft.RetailPlus.Security.Identity.Firstname @AceSoft.RetailPlus.Security.Identity.Lastname</span> |</li>
        <li><img src="../../Content/images/env.png" alt="Messages" />@Html.ActionLink("Messages", "Index", "Home")|</li>
        <li><img src="../../Content/images/logout.png" alt="Logout" />@Html.ActionLink("Logout", "Logout", "Auth") |</li>
        <li><img src="../../Content/images/help.png" alt="Help" />@Html.ActionLink("Help", "Help", "Home") </li>
    </ul>
     </text>
}
else {
    
      <div style="height:25px"></div>
       <ul>
        <li>Welcome to RetailPlus Business Solutions, @DateTime.Now.ToString("dd MMM yyyy hh:mm tt") |</li>
        <li><img src="../../Content/images/help.png" alt="Help" />@Html.ActionLink("Help", "Help", "Home") </li>
       </ul>
}
